package com.blabla.pojo;

import lombok.Data;

/**
 * @author yzw
 * @date 2022/1/15 14:24
 * @desc 用户信息表 - for循环优化示例
 */
@Data
public class User {
    /**
     * 用户id
     */
    private String userId;

    /**
     * 用户名称
     */
    private String userName;

    /**
     * 用户昵称
     */
    private String userNick;

    /**
     * 用户手机号
     */
    private String userPhone;

    /**
     * 登录密码
     */
    private String password;

    /**
     * 用户年龄
     */
    private Integer age;

    public User() {
    }

    public User(String userId, String userName, String userNick, String userPhone, String password, Integer age) {
        this.userId = userId;
        this.userName = userName;
        this.userNick = userNick;
        this.userPhone = userPhone;
        this.password = password;
        this.age = age;
    }

    public User(String userId, String userName, Integer age) {
        this.userId = userId;
        this.userName = userName;
        this.age = age;
    }
}
